import request from '@/utils/request'
// 获取树
export const gettreelist=()=>request.get('pio-microservice-biz/cbm/organization/manage/list')
// 获取树下级
export const gettreexiaji = params => request.get('pio-microservice-biz/cbm/organization/company/list', { params })
// 查询用电单位基本情况
export const getjibenqingapi = params => request.get('pio-microservice-biz/pio/home/subburo/base', { params })
// 查询用电单位电量情况
export const getdianwugongapi = params => request.get('pio-microservice-biz/pio/home/subburo/epower', { params })
// 查询用电单位终端情况
export const getzhongduanapi = params => request.get('pio-microservice-biz/pio/home/subburo/terminal', { params })
// 查询用电单位负荷情况
export const getfuheapi = params => request.get('pio-microservice-biz/pio/home/subburo/load', { params })
// 查询用电单位电量情况
export const getdianfei = params => request.get('pio-microservice-biz/pio/home/subburo/epower', { params })
// 查询用电单位电费情况
export const getdianfeiapi = params => request.get('pio-microservice-biz/pio/home/subburo/charge', { params })
// 查询用电单位告警情况
export const getgaojingapi = params => request.get('pio-microservice-biz/pio/home/subburo/alarm', { params })
// 查询用电单位功率因数情况
export const getgonglvapi = params => request.get('pio-microservice-biz/pio/home/subburo/dpf', { params })
// 获取当前登录人单位信息
export const getloginuserapi=()=>request.get('pio-microservice-biz/pio/common/user/org')